package cn.sh.yhk.configure.profile;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource(value = {"classpath:application-prod.properties", "classpath:dataSource-prod.properties"}, ignoreResourceNotFound = true)
@Profile("prod")
public class ProfileProdConfig {
    private static Logger log = LoggerFactory.getLogger(ProfileProdConfig.class);

    public ProfileProdConfig() {
        log.info("============================prod=======================");
    }
}